package cn.yunhe.services.impl;

import cn.yunhe.dao.IFlaseDao;
import cn.yunhe.entity.Flase;
import cn.yunhe.services.IFlaseServices;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * Created by Administrator on 2018/6/2.
 */
@Service("falseService")
public class FalseServicesImpl implements IFlaseServices {
    @Resource
    IFlaseDao flaseDao;
    @Override
    public Flase judgeFlase(Map map) {
        return flaseDao.judgeFlase(map);
    }


    @Override
    public void addFalse(Map map) {
        flaseDao.addFalse(map);
    }

    @Override
    public void updateFalse( Map map) {
        flaseDao.updateFalse(map);
    }

    public IFlaseDao getFlaseDao() {
        return flaseDao;
    }

    public void setFlaseDao(IFlaseDao flaseDao) {
        this.flaseDao = flaseDao;
    }
}
